package com.daocao.hua.api.callback;

import com.daocao.hua.api.contract.BaseContract;
import com.daocao.hua.model.OpinionModel;
import com.daocao.hua.model.ResponseModel;
import com.daocao.hua.model.UploadImageModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface OpinionContract {
    interface View extends BaseContract.BaseView {
        void uploadImgSuccess(int poi, UploadImageModel item);

        void getOpinionInfoSuccess(ResponseModel item);

        void getOpinionTypeInfoSuccess(OpinionModel item);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void uploadImg(int poi,String img);

        void getOpinionInfo(String type, String content, String photo);

        void getOpinionTypeInfo();
    }
}
